package com.qdu.entity;

public class Structure {
	private int strid;
	private CoursePlan coursePlan;
	private int cycle;
	private int sweek;
	private int strtime;
	private Classroom classroom;
	
	
	public Structure() {
	}
	
	public Structure(int cycle, int sweek, int strtime) {
		this.cycle = cycle;
		this.sweek = sweek;
		this.strtime = strtime;
	}

	public Structure(int strid, CoursePlan coursePlan, int cycle, int sweek, int strtime, Classroom classroom) {
		this.strid = strid;
		this.coursePlan = coursePlan;
		this.cycle = cycle;
		this.sweek = sweek;
		this.strtime = strtime;
		this.classroom = classroom;
	}
	@Override
	public String toString() {
		return "Structure [strid=" + strid + ", coursePlan=" + coursePlan + ", cycle=" + cycle + ", sweek=" + sweek
				+ ", strtime=" + strtime + ", classroom=" + classroom + "]";
	}
	public int getStrid() {
		return strid;
	}
	public void setStrid(int strid) {
		this.strid = strid;
	}
	public CoursePlan getCoursePlan() {
		return coursePlan;
	}
	public void setCoursePlan(CoursePlan coursePlan) {
		this.coursePlan = coursePlan;
	}
	public int getCycle() {
		return cycle;
	}
	public void setCycle(int cycle) {
		this.cycle = cycle;
	}
	public int getSweek() {
		return sweek;
	}
	public void setSweek(int sweek) {
		this.sweek = sweek;
	}
	public int getStrtime() {
		return strtime;
	}
	public void setStrtime(int strtime) {
		this.strtime = strtime;
	}
	public Classroom getClassroom() {
		return classroom;
	}
	public void setClassroom(Classroom classroom) {
		this.classroom = classroom;
	}
	
	
}
